package com.djinquan.common.service;

import org.aspectj.lang.ProceedingJoinPoint;

import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;

/**
 * @Desc:
 * @Group:美的集团-营销系统-技术组
 * @Author dengjq15
 * @Date 2023/8/6
 */
public interface RedissonService {
    Object executeWithLockThrows(String key, int waitTime, int leaseTime, TimeUnit timeUnit, ProceedingJoinPoint joinPoint) throws Throwable;
}
